﻿<!DOCTYPE html>
<html>
	<head>
		<title>COMPLEX Function</title>
		<meta charset="utf-8" />
		<meta name="description" content="" />
		<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
		<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
        <script type="text/javascript" src="../callback.js"></script>
        <script type="text/javascript" src="../search/js/page-search.js"></script>
	</head>
	<body>
		<div class="mainpart">
            <div class="search-field">
                <input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
            </div>
			<h1>COMPLEX Function</h1>
			<p>The <b>COMPLEX</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#engineering" onclick="onhyperlinkclick(this)">engineering functions</a>. It is used to convert a real part and an imaginary part into the complex number expressed in a + bi or a + bj form.</p>
			<h3>Syntax</h3> 
			<p><b><em>COMPLEX(real_num, i_num, [suffix])</em></b></p> 
            <p>The <b>COMPLEX</b> function has the following arguments:</p>
            <table style="width: 40%">
                <tr>
                    <th style="background-color: #f4f4f4" width="150ch"><b>Argument</b></th>
                    <th style="background-color: #f4f4f4"><b>Description</b></th>
                </tr>
                <tr>
                    <td><b><em>real_num</em></b></td>
                    <td>The real part of the complex number.</td>
                </tr>
				<tr>
                    <td><b><em>i_num</em></b></td>
                    <td>The imaginary part of the complex number.</td>
                </tr>
				<tr>
                    <td><b><em>suffix</em></b></td>
                    <td>An indicator of the imaginary part of the complex number. It can be either "i" or "j" in lowercase. It is an optional argument. If it is omitted, the function will assume <b><em>suffix</em></b> to be "i".</td>
                </tr>
            </table>
			
			<h3>Notes</h3>
			<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>COMPLEX</b> function.</p>
			
			<h3>Examples</h3>
            <p>The figure below displays the result returned by the <b>COMPLEX</b> function.</p>
			<p><img alt="COMPLEX Function" src="../images/complex.png" /></p>
		</div>
	</body>
</html>